//
//  AppDelegate.m
//  DrawLine
//
//  Created by lhy on 2021/1/21.
//

#import "AppDelegate.h"
#import "LMRPDFViewVC.h"

@interface AppDelegate ()

@end

@implementation AppDelegate



- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = UIColor.whiteColor;
    [self.window makeKeyAndVisible];
    
    LMRPDFViewVC *rootVC = [[LMRPDFViewVC alloc] init];
    rootVC.title = @"PDFKit";
    UINavigationController *rootNav = [[UINavigationController alloc] initWithRootViewController:rootVC];
    rootNav.navigationBar.translucent = NO;
    //    [UINavigationBar appearance].barTintColor = UIColor.whiteColor;
    //    [UINavigationBar appearance].shadowImage = nil;
    
    self.window.rootViewController = rootNav;
    
    return YES;
}

@end
